home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / tskerm25.zip / KERM80FI.INI < prev    next >
Text File  |  1994-02-12  |  6KB  |  176 lines

  1. ;
  2. ; KERM80FI.INI for MsKermit
  3. ; Enhanced emulation of VT102 keypad
  4. ; by Timo Salmi Sat 12-Feb-94  (Ver. 1.0)
  5. ;
  6. ;             I M P O R T A N T   N O T I C E !!!
  7. ;
  8. ; If you are using Dos version 3.3 you may experience problems with the
  9. ; numeric keypad keys. There is nothing wrong with this .ini keyboard driver.
  10. ; The problems are due to incompatibilities between MsKermit and Dos 3.3. I
  11. ; solved them by using Dos 3.3 with Dos version 3.21 keyb.exe and
  12. ; keyboard.sys. This problem seem to have to do with the psysical
  13. ; keyboard because it bothers one make of PCs but not another.
  14.  
  15. ; Change the baud rate, parity, and port if necessary and as relevant:
  16. set baud 9600
  17. set port com2
  18.  
  19. ; Select terminal emulation etc
  20. set terminal vt102
  21. set terminal wrap on
  22.  
  23. ; If your host is a Unix system, even parity is a good choice for
  24. ; binary Kermit transfers. You may have to set also the C-Kermit of
  25. ; your host to comply.
  26. ; With many other hosts, such as VAX/VMS, usually omit the parity,
  27. ; or use set parity none
  28. set parity even
  29.  
  30. set display 7-bit        ;Ordinary ascii
  31. set dump r:\kermit.scn   ;Screen image destination (see alt G later)
  32.  
  33. comment F1  (GOLD)       (F1 definition could be omitted since it is a default)
  34. set key \315 \Kgold      ;This sets F1 key to act as VT102 gold (PF1) key
  35.  
  36. comment Keypad ./.  (HELP)
  37. set key \4399 \Kpf2      ;This sets ./. numkey to act as VT102 help (PF2) key
  38.  
  39. comment Keypad x  (find next/find)
  40. set key \311 \Kpf3
  41.  
  42. comment Keypad -  (delete line, undelete line)
  43. set key \330 \Kpf4
  44.  
  45. comment Keypad 7  (page/command)
  46. set key \839 \Kkp7
  47.  
  48. comment Keypad 8  (sect/fill)
  49. set key \840 \Kkp8
  50.  
  51. comment Keypad 9  (append/replace)
  52. set key \841 \Kkp9
  53.  
  54. comment Keypad +  (delete word/undelete word)
  55. set key \334 \Kkpminus
  56.  
  57. comment Keypad 4  (advance/bottom)
  58. set key \843 \Kkp4
  59.  
  60. comment Keypad 5  (backup/top)
  61. set key \844 \Kkp5
  62.  
  63. comment Keypad 6  (cut/paste)
  64. set key \845 \Kkp6
  65.  
  66. comment Keypad 1  (word/change case)
  67. set key \847 \Kkp1
  68.  
  69. comment Keypad 2  (end of line/delete eol)
  70. set key \848 \Kkp2
  71.  
  72. comment Keypad 3  (char/specins)
  73. set key \849 \Kkp3
  74.  
  75. comment Keypad enter  (enter/subs)
  76. set key \4365 \Kkpenter
  77.  
  78. comment Keypad 0  (line/open line)
  79. set key \850 \Kkp0
  80.  
  81. comment Keypad .  (select reset)
  82. set key \851 \Kkpdot
  83.  
  84. comment F5   (select reset)
  85. set key \319 \Kkpdot
  86.  
  87. comment Delete (delete char/undelete char)
  88. set key \4435 \Kkpcoma
  89.  
  90. comment ctrl DEL  (linefeed)
  91. set key \5523 \10
  92.  
  93. ; inactivate F6-F10 (they have default functions)
  94. ;set key \316    ;F2
  95. ;set key \317    ;F3
  96. ;set key \318    ;F4
  97. ;set key \319    ;F5
  98. set key \320    ;F6
  99. set key \321    ;F7
  100. set key \322    ;F8
  101. set key \323    ;F9          ;Defined later below
  102. set key \324    ;F10         ;Defined later below
  103. set key \389    ;F11
  104. set key \390    ;F12
  105.  
  106. ; Enhanced VT102 editing
  107.  set key \4423 \8            ;Home = to the beginning of the line
  108.  set key \4431 \Kkp2         ;End  = to the end of the line
  109.  set key \4425 \27\79\117\27\79\120\27\79\116
  110.                              ;PgUp = back up 16 rows (num5 num8 num4)
  111.  set key \4433 \Kkp8         ;PgDn = advance 16 rows
  112.  set key \4434 \1            ;Ins  = ^A  (command line insert on)
  113.  
  114. ; Redisplay commands
  115.  set key \5495 \Khomscn      ;ctrl Home = Up to top of screen memory
  116.  set key \5493 \Kendscn      ;ctrl End  = Back to current position
  117.  set key \5508 \Kupscn       ;ctrl PgUp = Previous screen
  118.  set key \5494 \Kdnscn       ;ctrl PgDn = Next screen
  119.  set key  \323 \Kupone       ;F9        = Roll screen memory up one line
  120.  set key  \324 \Kdnone       ;F10       = Roll screen memory down one line
  121.  set key \5517 \Kupone       ;ctrl Up   = Roll screen memory up one line
  122.  set key \5521 \Kdnone       ;ctrl Down = Roll screen memory down one line
  123.  
  124. ; Commands resembling the layout of Procomm
  125.  set key \2408 \Klogon       ;alt F1 = Turn on session logging
  126.  set key \2409 \Klogoff      ;alt F2 = Turn off session logging
  127.  set key \2411 \Kdos         ;alt F4 = Push to dos
  128. ;set key \2352 \Kbreak       ;alt B  = Send a break (one of the many defaults)
  129.  set key \2350 \Kreset       ;alt C  = Clear screen
  130.  set key \2338 \Kdump        ;alt G  = Append current screen to dump file
  131.  set key \2353 \Kholdscrn    ;alt N  = Screen pause toggle
  132.  set key \2335 \Kstatus      ;alt S  = Display status message
  133.  set key \2348 \Khelp        ;alt Z  = Display connect help message
  134.  
  135. ; Keyboard --> Host
  136. ; Scandinavian characters typed from the keyboard are changed into
  137. ; their equivalents used by the host, i.e. the 8-bit PC Scandinavian
  138. ; characters are converted into 7-bits.
  139. ; For German, and other international keyboards, the principle is the same.
  140. ; For a U.S. keyboard comment out the translations
  141. set translation input on
  142. set translation input \091 \142       ; [ Ä
  143. set translation input \092 \153       ; \ Ö
  144. set translation input \093 \143       ; ] Å
  145. set translation input \123 \132       ; { ä
  146. set translation input \124 \148       ; | ö
  147. set translation input \125 \134       ; } å
  148.  
  149. ; Host --> Screen
  150. ; The 7-bit equivalents used by the host are converted back into the
  151. ; 8-bit scandinavian characters.
  152. ; For German, and other international keyboards, the principle is the same.
  153. set key \142 \091                     ; Ä [
  154. set key \153 \092                     ; Ö \
  155. set key \143 \093                     ; Å ]
  156. set key \132 \123                     ; ä {
  157. set key \148 \124                     ; ö |
  158. set key \134 \125                     ; å }
  159.  
  160. ; Some special settings just for the sake of it:
  161. ; If you do not like them comment them away with a semicolon (;) as I have
  162. ; done. (Your can comment them away also with the word comment.)
  163. ; See MsKermit documentation, or set terminal ? for more details
  164. ;set terminal cursor block     ;Use a block as the cursor
  165. ;set terminal keyclick on      ;Drive your colleagues crazy
  166. ;set terminal color 0,0,32     ;An alternative way of changing the text green
  167. set terminal color 0 10 32 40  ;Log intensity, fast, green on black
  168.  
  169. ;Some special features (see MsKermit documentation):
  170. ; set retry 20
  171. ; set send packet 94
  172. ; set send timeout 20
  173.  
  174. ; Put here any other commands/definitions you wish to make
  175. ; See MsKermit documentation, or use ? at command prompt for more details
  176.